package com.atguigu.ggkt.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author HP
 * @version 1.0
 * @description TODO
 * @date 2023/3/30 3:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomException extends RuntimeException{
    //自定义异常，并添加到全局异常处理类中
    private Integer code;
    private String msg;
}
